package com.iraeta.service.gift;

import com.iraeta.entity.gift.Gift;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iraeta.entity.resulttype.GiftResultType;

import java.util.List;

/**
 * <p>
 * 礼品表 服务类
 * </p>
 *
 * @author chenbin
 * @since 2023-12-21
 */
public interface IGiftService extends IService<Gift> {
    List<GiftResultType> listGiftByName(String searchName);
    List<GiftResultType> listGiftByTypeId(Integer typeId, String name);

    GiftResultType getGift(Integer id);
    void deleteGift(Integer id);

    void tongBuGiftModel(int sourcegiftid, int targetgiftid);
}
